<?php

use common\utils\SysCode;

return [
    SysCode::OK                      => '',
    SysCode::INVALID_ARGUMENT        => '非法参数',
    SysCode::FAILED                  => '操作失败',
    SysCode::IP_ACCESS_DENY          => '禁止访问',
    SysCode::INVALID_CODE            => '验证码有误',
    SysCode::BAD_REQUEST             => '错误请求',
    SysCode::UNAUTHORIZED            => '认证失败',
    SysCode::FORBIDDEN               => '无权访问',
    SysCode::NOT_FOUND               => '404 not found',
    SysCode::INTERNAL_SERVER_ERROR   => '服务器错误',
    SysCode::MISS_REQUIRED_PARAMETER => '缺失必须的参数',
    SysCode::DATA_NO_CHANGE          => '数据未做任何修改',

    SysCode::USER_AUTH_NOT_MATCH            => '登陆用户名或密码错误',
    SysCode::USER_EXIST                     => '用户:username 已存在',
    SysCode::USER_NOT_FOUND                 => '用户不存在',
    SysCode::USER_TOKEN_EXPIRE              => 'Token已过期',
    SysCode::USER_KICKED                    => '账号在其他地方被登录',
    SysCode::USER_BANK_EXIST                => '银行卡:card 已存在',
    SysCode::USER_NOT_LOGIN                 => '用户未登录',
    SysCode::USER_STATE_ERROR               => '账号已停用或正在审核,如有疑问请联系客服!',
    SysCode::USER_PASSWORD_ERROR            => '登陆密码错误',
    SysCode::USER_GOOGLE_LOGIN_FAILED_TIMES => '谷歌身份验证失败超过5次，30秒后再尝试',
    SysCode::USER_GOOGLE_CODE_INVALID       => '谷歌身份验证码错误',
    SysCode::USER_SAVE_GOOGLE_CODE_FAILED   => '绑定谷歌身份验证失败',
    SysCode::USER_EMAIL_EXIST               => '该邮箱已存在！',
    SysCode::USER_EMAIL_CODE_ERROR          => '邮箱验证码错误',
    SysCode::USER_WITHDRAW_PASSWORD_ERROR   => '取款密码错误',
    SysCode::USER_EMAIL_NOT_REGISTER        => '此邮箱未注册',
    SysCode::USER_MOBILE_EXIST              => '该手机已存在！',
    SysCode::USER_PWD_ERROR                 => '原密码不正确！',
    SysCode::USER_PWD_AGREEMENT             => '新密码不能和旧密码一样！',
    SysCode::USER_EDIT_PWD_ERROR            => '修改密码失败！',

    SysCode::MESSAGE_MISS_PARAMS                  => '修改消息参数缺失',
    SysCode::MESSAGE_CHANGE_STATUS                => '修改消息状态失败',
    SysCode::BANK_EXCHANGE_MISS_PARAMS            => '额度转化参数缺失',
    SysCode::BANK_EXCHANGE_AMOUNT_ERROR           => '输入金额超过金额范围值0.01-9999999,当前输入金额:amount',
    SysCode::BANK_EXCHANGE_NOT_OPEN               => '额度转化功能暂时未开放',
    SysCode::BANK_EXCHANGE_MISS_WALLET            => '额度转化::type,:name不存在,传入参数值为:data',
    SysCode::BANK_EXCHANGE_BALANCE_UNOUGH         => '额度转化::type,余额不足,当前余额:balance,额度转化金额:amount',
    SysCode::BANK_EXCHANGE_GETBALANCE_ERROR       => '额度转化同步余额失败',
    SysCode::BANK_EXCHANGE_WALLET_NOT_EXIT        => '额度转化子钱包不存在',
    SysCode::BANK_EXCHANGE_GETBALANCE_MONEY_ERROR => '额度转化失败',
    SysCode::BANK_WITHDRAW_PRAMARY_MOENY_MISS     => '主钱包缺失',
    SysCode::BANK_WITHDRAW_ORDER_EXIST            => '已经有申请的订单,不可在申请,已申请订单号::order_number',

    SysCode::ACTIVE_STATUS_ERROR => '优惠活动已结束',

    SysCode::DEMO_USERNAME_EXIST          => '该账户已存在，请重新获取！',
    SysCode::DEMO_USERNAME_PASSWORD_ERROR => '密码应该为6-16位数字和字母组合',

    SysCode::BANK_EXCHANGE_THIRD_MONEY_ERROR     => '第三方同步余额不足',
    SysCode::BANK_EXCHANGE_NOT_FIND_EMAIL_MOBILE => '请绑定手机号码或邮箱',
    SysCode::BANK_EXCHANGE_MONEY_MIN          => '出款金额不能少于::min',
    SysCode::BANK_EXCHANGE_MONEY_MAX          => '出款金额不能大于::max',
    SysCode::BANK_EXCHANGE_MONEY_DAY_LIMIT    => '每次出款次数不能大于::time次',
    //厅主管理-游戏开关
    SysCode::HALL_GAME_UPDATE_ERROR           => '厅主游戏开关更新数据失败',
    //厅主管理-基本数据管理
    SysCode::HALL_BASIC_UPDATE_ERROR          => '数据库操作失败',
    SysCode::HALL_BASIC_NAME_ONLY          => '该名称已经被使用，请更换名称!',
    //厅主管理-基础设置
    SysCode::HALL_SETTING_PWD_ERROR           => '输入的两次密码不一致',
    SysCode::HALL_SETTING_SMS_ERROR           => '短信更新失败',
    SysCode::HALL_SETTING_USER_ERROR          => '该厅下ADMIN用户不存在',

    SysCode::HALL_DOMAIN_EXIST                => '域名:domains 已存在',
    SysCode::HALL_NAME_EXIST                  => '厅主名称:company_name 已存在',
    SysCode::HALL_DOMAIN_ERROR                => '域名:domain 不正确，请重新输入',

    //厅主导航菜单相关
    SysCode::HALL_MENU_ISDISPLAY_STATUS_ERROR => '不能删除前端显示菜单,请先修改状态',
    SysCode::HALL_MENU_CHILD_MENU_ERROR => '二级菜单必须添加对应的api分类',




    SysCode::PAY_CHANNEL_EXIST => '支付渠道有同名或同code',
    SysCode::HALL_NOT_EXISTS   => '厅::reason不存在',

    SysCode::ROLE_NOT_EXIST => '角色不存在',
    SysCode::ROLE_ALREADY_EXIST => '角色已经存在',
    SysCode::ROLE_AUTH_NO_MATCH => '角色权限不符合',
    SysCode::ROLE_IN_USE => '该管理员角色已使用，不可删除',
    SysCode::ADMIN_USER_NOT_EXIT => '管理员不存在',
    SysCode::ADMIN_USER_ALREADY_EXIT => '管理员已经存在',
    SysCode::ADMIN_USER_NAME_ALREADY_EXIT => '管理员名称已经存在',
    SysCode::ADMIN_USER_OUT_OF_DATE => '管理员已过期',
    SysCode::ADMIN_USER_STATE_ERROR => '该账号已停用，请联系平台管理员',
    SysCode::ADMIN_USER_IP_ERROR => '账号登录IP有误',
    SysCode::ADMIN_USER_WHITE_LIST_ERROR => '白名单ip验证不通过',
    SysCode::ADMIN_EXPIRE_TIME_OUT => '该账号已到期，请修改有效期后再启用',
    SysCode::ADMIN_USER_MSG_CHANGED => '您的账号信息有变动，请重新登录',
    SysCode::ADMIN_USER_DELETED => '该账号已删除，请联系平台管理员',
    SysCode::ADMIN_USER_MSG_SERVER => '账号信息变更，请联系客服',
    SysCode::GAME_TAG_DELETE_ERROR => '删除失败，还有游戏在使用此标签',
    SysCode::PARTNER_NOT_EXIST => '此游戏API不存在',
    SysCode::GAME_API_ACTIVE_NOT_EXIST => '不存在此API活动',
    SysCode::GAME_API_ACTIVE_REPEAT => ':type活动类型同一时间范围只能启用一个',
    SysCode::GAME_API_DELETE_ERROR => '此活动处于启用状态，无法删除',
    SysCode::GAME_API_END_TIME_ERROR => '结束时间必须大于当前时间',
    SysCode::GAME_API_START_TIME_ERROR => '结束时间必须大于开始时间',
    SysCode::GAME_API_ACTIVE_TIME_EXPIRE => '此活动时间已过期，不可启用',
    SysCode::ORDER_REPAIR_ERROR => '已经在补单中...',

    //日志列表
    SysCode::SYSTEM_BEGIN_END_TIME_ERROR => '开始时间大于结束时间...',
    SysCode::LOG_WRITE_UNKNOWN_ITEM      => '数据库为未找到该操作,日志写入失败',
    SysCode::LOG_WRITE_INSERT_ERROR      => '日志写入数据库操作失败',
    SysCode::GLOBAL_END_TIME_ERROR       => '结束时间必须大于当前时间',
    SysCode::GLOBAL_START_TIME_ERROR       => '结束时间必须大于开始时间',
    SysCode::LOG_WRITE_VIEW_ERROR       => '未找到日志详情',
    SysCode::LOG_WRITE_ITEM_ID_ERROR       => '非法参数,item_id错误',

    //运营中心-转账记录
    SysCode::TRANSFER_SEARCH_INVALID_MAIN_TYPE       => '转出转入不能同时为主钱包',
    SysCode::TRANSFER_SEARCH_INVALID_PATNER_TYPE       => '转出转入不能同时为子钱包',
    SysCode::TRANSFER_INVALID_PARAMS       => '非法参数',
    SysCode::TRANSFER_ORDER_NOT_FOUND       => '转账订单不存在',
    SysCode::TRANSFER_SUPPLEMENT_FAIL       => '补单检测失败',
    SysCode::TRANSFER_SUPPLEMENT_SUCC_CANT_SUPPLEMENT       => '转账成功订单不能补单检测',

    /**
     * 第三方相关
     */
    SysCode::API_ERROR                    => 'API 错误',
    SysCode::API_ERROR_CONFIG             => 'API 配置错误',
    SysCode::API_ERROR_METHOD_UNCOMPLETE  => '方法未实现',
    SysCode::API_ERROR_TRANSFER_FAILED    => '未找到对应的转账订单 或 该转账失败',
    SysCode::GAME_THIRD_GAME_ACCOUNT_ERROR => '第三方api创建账号失败',
    SysCode::GAME_THIRD_MONEY_PARTNER_ERROR => '创建子钱包失败',
    SysCode::GAME_THIRD_MONEY_PARTNER_USER_ERROR => '创建第三方账号失败',
    /**
     * 搜索时间限制
     */
    SysCode::SEARCH_TIMEL_IMIT_ERROR => '最多支持查前:month个月的数据',
];
